package cn.wolfcode.shop;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.PropertySource;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@PropertySource({"zookeeper.properties","redis.properties"})
@EnableScheduling  //开启定时任务
public class ScheduleApp {
    public static void main(String[] args) {
        SpringApplication.run(ScheduleApp.class,args);
    }
}
